package com.ruoyi.common.enums.cms;

import lombok.Getter;

@Getter
public enum CmsErrorCode {

    TEXT_VIOLATION("CMS.00101", "文字违规"),
    IMAGE_VIOLATION("CMS.00102", "图片违规"),
    ;

    private final String code;
    private final String msg;

    CmsErrorCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
